package com.szrt.oa.student.entity;

import java.util.Date;

import org.springframework.stereotype.Component;

/**
 *  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `NAME` varchar(255) DEFAULT NULL,
  `AGE` int(11) DEFAULT NULL,
  `REGISTER_TIME` datetime DEFAULT NULL,
 * @author My
 *
 */

@Component
public class StudentEntity {

	private Integer id;
	private String name;
	private Integer age;
	private String registerTime;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	
	public String getRegisterTime() {
		return registerTime;
	}
	public void setRegisterTime(String registerTime) {
		this.registerTime = registerTime;
	}
	@Override
	public String toString() {
		return "StudentEntity [id=" + id + ", name=" + name + ", age=" + age + ", registerTime=" + registerTime + "]";
	}
	
	
	
	
	
}
